import { PLATFORM_Map } from "@/constant/index";
import familymanagement from "@/assets/images/leftminsvg/familymanagement.svg?component";
export default {
	path: '/manage',
	redirect: '/manage/Individual-management/family-management',
	meta: {
		title: '个体管理',
		showLink: true,
		rank: 3,
		icon: familymanagement,
		platform: [PLATFORM_Map.manage]
	},
	children: [
		{
			name: 'Individual-users',
			path: '/manage/Individual-management/Individual-users',
			component: () => import('@/views/manage/Individual-management/Individual-users/index.vue'),
			meta: {
				title: '个体用户',
				showParent: true,
				roles:['system.customer.find']
			}
		},
		{
			name: 'family-management',
			path: '/manage/Individual-management/family-management',
			component: () => import('@/views/manage/Individual-management/family-management/index.vue'),
			meta: {
				title: '家庭管理',
				showParent: true,
				roles:['system.family.find']
			}
		},
	
		{
			name: 'devices-management',
			path: '/manage/Individual-management/device-management',
			component: () => import('@/views/manage/Individual-management/device-management/index.vue'),
			meta: {
				title: '设备管理',
				showParent: true,
				roles:['system.device-device.select']
			}
		},
		{
			name: 'alarm-log',
			path: '/manage/Individual-management/alarm-log',
			component: () => import('@/views/manage/Individual-management/alarm-log/index.vue'),
			meta: {
				title: '告警记录',
				showParent: true,
				roles:['system.alarm.userAlarmlist']
			}
		}

	]
} satisfies RouteConfigsTable;
